/*global Vue*/

/* weex initialized here, please do not move this line */
const App = require('@/index.vue');
const router = require('./router');

/* eslint-disable no-new */

import * as filters from '@/filters'
import mixins from '@/mixins'

Object.keys(filters).forEach(key => {
    Vue.filter(key, filters[key])
})

// register global mixins.

Vue.mixin(mixins) 
new Vue(Vue.util.extend({el: '#root', router}, App));

router.push('/');

